package org.netty.push.api.exception;

public class ErrorCode {
	
	public static ErrorCode SYS_ERROR=new ErrorCode("1111","system error");
	
	private String code;
	private String errorInfo;
	
	public ErrorCode(String code, String errorInfo) {
		super();
		this.code = code;
		this.errorInfo = errorInfo;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getErrorInfo() {
		return errorInfo;
	}
	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}

}
